package com.supermarket.api.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 精选分类表
 * @author 李其伟
 * @date 2023/10/23
 */
@Data
@Entity
@Table(name = "sm_selected_category")
@org.hibernate.annotations.Table(appliesTo = "sm_selected_category",comment="精选分类表")
public class SelectedCategoryEntity extends BaseEntity {

    @Column(name = "category_id", columnDefinition = " bigint(20) comment '分类主键' ")
    private Long categoryId;

    @Column(name = "publish_status", columnDefinition = " int(11) comment '上架状态：0->下架；1->上架' ")
    private Integer publishStatus;

    @Column(name = "sort", columnDefinition = " int(11) comment '排序' ")
    private Integer sort;

}